<template>
  <el-collapse-item key="videoEffect" title="特效" name="videoEffect">
    <el-form label-width="80px">
      <el-form-item label="声音开关">
        <el-switch v-model="curComponent.videoVolumeSW"> </el-switch>
      </el-form-item>
      <el-form-item label="旋转角度">
        <el-select v-model="curComponent.rotation">
          <el-option
            v-for="item in rotationOption"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </el-select>
      </el-form-item>
    </el-form>
  </el-collapse-item>
</template>

<script>
import { rotationOption } from '@/utils/attr'

export default {
  name: 'VideoEffectAttr',
  data() {
    this.rotationOption = rotationOption
    return {
      activeName: '',
    }
  },
  computed: {
    curComponent() {
      return this.$store.state.curComponent
    },
  },
}
</script>

<style lang="scss" scoped></style>
